package com.xdf.whiteaccount.dao;

import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;
import java.util.List;
import com.xdf.whiteaccount.entity.JrkbilldraftCpIdTransfer;
import com.xdf.whiteaccount.utils.Example;
import org.apache.ibatis.annotations.Param;

/**
 * @Description : 由代码生成器生成
 * @Author : chanchaw
 * @Date :  2025-9-16 10:11:07
 */
@Repository
public interface JrkbilldraftCpIdTransferMapper {
    int insert(JrkbilldraftCpIdTransfer record);

    int insertSelective(JrkbilldraftCpIdTransfer record);

    int multiInsert(List<JrkbilldraftCpIdTransfer> list);

    int updateByPrimaryKey(JrkbilldraftCpIdTransfer record);

    int updateByPrimaryKeySelective(JrkbilldraftCpIdTransfer record);

    // 根据主键删除
    int deleteByPrimaryKey(Long id);
    // 根据主键查询
    JrkbilldraftCpIdTransfer selectByPrimaryKey(Long id);

    List<JrkbilldraftCpIdTransfer> selectAll();

    int save(JrkbilldraftCpIdTransfer record);
    int multiSave(List<JrkbilldraftCpIdTransfer> list);

    //================= 下面是 Example 代码 ==================
    List<JrkbilldraftCpIdTransfer> selectByExample(@Param("example") Example example);
    int updateByExampleSelective(@Param("record") JrkbilldraftCpIdTransfer record,@Param("example") Example example);
    int insertByExampleSelective(@Param("record") JrkbilldraftCpIdTransfer record,@Param("example") Example example);
    int deleteByExample(@Param("example") Example example);

    JrkbilldraftCpIdTransfer getNext(Long id);
    JrkbilldraftCpIdTransfer getPrev(Long id);
    JrkbilldraftCpIdTransfer getFirst();
    JrkbilldraftCpIdTransfer getLast();
    //=================以上是自动生成的代码，自定义代码请写在下面==================

    JrkbilldraftCpIdTransfer selectByOldId(Integer jrkId);
}